package cn.wei.sdd.core.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: wei
 * @Date: 2021/10/24/22:06
 */
@Data
@ApiModel(description="联动数据对象")
public class SelectVO {

    @ApiModelProperty(value = "主类id")
    private Long id;


    @ApiModelProperty(value = "主类名称")
    private String  text;


    @ApiModelProperty(value = "子类")
    private List<SelectVO> children;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;
}
